<?php
$this->breadcrumbs=array(
	'Articles'=>array('index'),
	$model->title,
);

$this->menu=array(
	array('label'=>'List Article', 'url'=>array('index')),
	array('label'=>'Create Article', 'url'=>array('create')),
	array('label'=>'Update Article', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Article', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Article', 'url'=>array('admin')),
);
?>

<h1><?php echo $model->title; ?></h1>
<p>
<?php if($model->author)?>
	<b><?php echo CHtml::encode($model->getAttributeLabel('author')); ?>:</b>
	<?php echo CHtml::encode($model->author); ?>
	| <b><?php echo CHtml::encode($model->getAttributeLabel('updated')); ?>:</b>
	<?php echo CHtml::encode($model->updated); ?></p>
	<?php echo CHtml::image(Yii::app()->baseUrl.$model->filePath,'',
array('style'=>'margin: 5px 10px 10px 5px')); ?><br />
<?php echo nl2br($model->text); ?>
